<%@ Page Language="C#" MasterPageFile="~/cms.master" AutoEventWireup="true" CodeFile="EditPermition.aspx.cs"
    Inherits="cms_EP" Title="<%$Resources:Language,CmsEditPermitionTitle %>" %>

<%@ Register Src="~/controls/ctrlCustomerData.ascx" TagPrefix="own" TagName="ctrlCustomerData" %>
<%@ OutputCache Location="None" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="Server">

    <script type="text/javascript" src="../Javascript/jquery.js"></script>

    <script language="javascript" type="text/javascript" src="../Javascript/jquery.jeditable.js"></script>

    <div id="MainNyroModal">
        <h2>
            <%=Resources.Language.EditUser %></h2>
        <div class="vSeparate">
            <asp:Button ID="btnConfirm" runat="server" Text="<%$Resources:Language,SaveChanges %>"
                OnClick="btnConfirm_Click" />
            <asp:Button ID="btnLock" runat="server" OnClick="btnLock_Click" />
            <asp:Button ID="btnRemove" runat="server" Text="<%$Resources:Language, DeleteUpper %>"
                OnClick="btnRemove_Click" />
        </div>
        <div class="vSeparate">
            <table class="cmsTables" cellspacing="0px">
                <asp:Repeater ID="rptData" runat="server" OnItemDataBound="rptDataItemDataBound">
                    <ItemTemplate>
                        <tr id="infoHeader" runat="server">
                            <th colspan="2">
                                <%#Eval("Content") %>
                            </th>
                        </tr>
                        <tr id="infoRow" runat="server">
                            <td class="left">
                                <%#Eval("Name")%>:
                            </td>
                            <td class="right">
                                <%#Eval("Content") %>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <table id="tblEditData" class="cmsTables" runat="server" cellspacing="0">
                <tr>
                    <td class="left">
                        <%= Resources.Language.Comment %>:
                    </td>
                    <td class="right">
                        <asp:TextBox ID="txtComment" runat="server" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr id="rowRoles" runat="server">
                    <td class="left">
                        <%= Resources.Language.Roles %>
                    </td>
                    <td class="right">
                        <asp:RadioButtonList ID="rblRoles" runat="server" CssClass="cmsRolesList">
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </table>
        </div>
        <asp:Panel ID="pnlEditClient" runat="server">
            <own:ctrlCustomerData ID="ctrlCustomerData" runat="server" Mode="EditData" ShowLabelInfo="false" />
        </asp:Panel>
    </div>
</asp:Content>
